package com.hongdee.crm.maintain.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 名  称:TCrmCarMaintain
 * 类  型: class
 * 描  述: 通过 token取用户信息
 * 路  径:com.hongdee.crm.maintain.entity;
 * 作  者: 术洪超
 * 日  期:2017-02-15 08:46
 */

@Entity
@Table(name = "T_CRM_CAR_MAINTAIN")
public class TCrmCarMaintain extends BaseEntity {

    //车辆 ID
    @Column(name = "car_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '用户车辆 ID'")
    private String carId;

    //车架号
    @Column(name = "vin", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车架号'")
    private String vin;

    @Column(name = "company_id",length = 32,columnDefinition = "VARCHAR(32) COMMENT '公司ID'")
    private String companyId;

    @Column(name = "maintain_time",length = 20,columnDefinition = "BIGINT(20) COMMENT '保养时间'")
    private Long maintainTime;

    @Column(name = "maintain_mile",length = 32,columnDefinition = "VARCHAR(32) COMMENT '保养里程'")
    private String maintainMile;

    @Column(name = "maintian_type",length = 32,columnDefinition = "VARCHAR(32) COMMENT '保养类型'"  )
    private String  maintainType;

    @Column(name = "avg_maintain_mile",length = 32,columnDefinition = "VARCHAR(32) COMMENT '平均保养里程'")
    private String avgMaintainMile;

    @Column(name = "next_maintain_time",length = 20,columnDefinition = "BIGINT(20) COMMENT '下次保养时间'")
    private Long nextMaintainTime;

    @Column(name = "next_maintain_mile",length = 32,columnDefinition = "VARCHAR(32) COMMENT '下次保养里程 '")
    private String nextMaintainMile;
    @Column(name = "next_maintain_mon",length = 32,columnDefinition = "VARCHAR(32) COMMENT '保养目标月 '")
    private String next_maintainMon;

    public String getNext_maintainMon() {
        return next_maintainMon;
    }

    public void setNext_maintainMon(String next_maintainMon) {
        this.next_maintainMon = next_maintainMon;
    }

    @Column(name = "worder_id",length = 32,columnDefinition = "VARCHAR(32) COMMENT '工单ID'")
    private String worderId;

    @Column(name = "plate_num",length = 32,columnDefinition = "VARCHAR(32) COMMENT '车牌号'")
    private String plateNum;

    @Column(name = "contact_phone",length = 32,columnDefinition = "VARCHAR(32) COMMENT '联系电话'")
    private String contactPhone;

    @Column(name = "contact_name",length = 32,columnDefinition = "VARCHAR(32) COMMENT '车主姓名'")
    private String contactName;

    @Column(name = "interval_mile",length = 32,columnDefinition = "VARCHAR(32) COMMENT '间隔里程'")
    private String intervalMile;

    public String getIntervalMile() {
        return intervalMile;
    }

    public void setIntervalMile(String intervalMile) {
        this.intervalMile = intervalMile;
    }

    public String getPlateNum() {
        return plateNum;
    }

    public void setPlateNum(String plateNum) {
        this.plateNum = plateNum;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public Long getNextMaintainTime() {
        return nextMaintainTime;
    }

    public void setNextMaintainTime(Long nextMaintainTime) {
        this.nextMaintainTime = nextMaintainTime;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public Long getMaintainTime() {
        return maintainTime;
    }

    public void setMaintainTime(Long maintainTime) {
        this.maintainTime = maintainTime;
    }

    public String getMaintainMile() {
        return maintainMile;
    }

    public void setMaintainMile(String maintainMile) {
        this.maintainMile = maintainMile;
    }

    public String getMaintainType() {
        return maintainType;
    }

    public void setMaintainType(String maintainType) {
        this.maintainType = maintainType;
    }

    public String getAvgMaintainMile() {
        return avgMaintainMile;
    }

    public void setAvgMaintainMile(String avgMaintainMile) {
        this.avgMaintainMile = avgMaintainMile;
    }

    public String getWorderId() {
        return worderId;
    }

    public void setWorderId(String worderId) {
        this.worderId = worderId;
    }

    public String getNextMaintainMile() {
        return nextMaintainMile;
    }

    public void setNextMaintainMile(String nextMaintainMile) {
        this.nextMaintainMile = nextMaintainMile;
    }
}
